<section class="content">
	<div class="row">
		<!-- left column -->
		<div class="col-md-12">
          <div class="box box-primary box-solid">
            <div class="box-header">
              <h3 class="box-title">请选择要缴费的人员</h3>
            </div>
            <div class="box-body">

				<table id="example2" class="table table-bordered table-hover">
					<thead>
						<tr>
							<th></th>
							<th style="text-align:center;">姓名</th>	
							<th style="text-align:center;">身份证号</th>
							<th style="text-align:center;">备注</th>
						</tr>
					</thead>
					<tbody ng-repeat="d in data">
						<tr ng-if="d.AAE0160 == '1' && d.AAE0162 == '0' && d.AAC084 == '0' && d.AAE0161 == '0'">
							<td align="center">
								<div >
									<input type="radio" name="radioBox" value="{{d.CA001}}">
									<input type="hidden" name="MINYEAR" value="{{d.MINYEAR}}">
									<input type="hidden" name="MAXYEAR" value="{{d.MAXYEAR}}">
								</div>
							</td>
							<td align="center">{{d.CA003}}</td>
							<td align="center">{{d.CA006}}</td>
							<td align="center">可缴费</td>
						</tr>
					</tbody>
					<!-- <tbody>
						<tr><td colspan="3" style="color: red;">以下好友为未参保人员(不可选择):</td></tr>
					</tbody> -->
					<tbody ng-repeat="d in data">
						<tr  ng-if="d.AAE0160 == '0' || d.AAE0160 == '2'" style="background-color:#f0f0f0">
							<td align="center">
								<div>
									<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
								</div>
							</td>
							<td align="center">{{d.CA003}}</td>
							<td align="center">{{d.CA006}}</td>
							<td align="center"><b>未参保</b></td>
						</tr>
					</tbody>

					<tbody ng-repeat="d in data">
						<tr  ng-if="d.AAE0162 == '1'" style="background-color:#f0f0f0">
							<td align="center">
								<div>
									<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
								</div>
							</td>
							<td align="center">{{d.CA003}}</td>
							<td align="center">{{d.CA006}}</td>
							<td align="center"><b>正在办理转移中</b></td>
						</tr>
					</tbody>

					<tbody ng-repeat="d in data">
						<tr  ng-if="d.AAE0161 == '2'" style="background-color:#f0f0f0">
							<td align="center">
								<div>
									<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
								</div>
							</td>
							<td align="center">{{d.CA003}}</td>
							<td align="center">{{d.CA006}}</td>
							<td align="center"><b>正在办理领取待遇</b></td>
						</tr>
					</tbody>

					<tbody ng-repeat="d in data">
						<tr  ng-if="d.AAC084 == '1'" style="background-color:#f0f0f0">
							<td align="center">
								<div>
									<input type="radio" name="radioBox" value="{{d.CA001}}" disabled>
								</div>
							</td>
							<td align="center">{{d.CA003}}</td>
							<td align="center">{{d.CA006}}</td>
							<td align="center"><b>已是待遇人员</b></td>
						</tr>
					</tbody>
				</table>
				

            </div>
			<div class="box-footer">
				<button type="button" class="btn btn-primary" ng-click="save2();">
					<i class="fa fa-check"></i>本年缴费
				</button>

				<button type="button" class="btn btn-primary" ng-click="save1();" id="button1">
					<i class="fa fa-check"></i>历年补缴
				</button>	
			</div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
	</div>
</section>